<%@ page import="apralms.Parameter" %>



<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'code', 'error')} required">
	<label for="code">
		<g:message code="parameter.code.label" default="Code" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="code" maxlength="10" required="" value="${parameterInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="parameter.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" maxlength="50" required="" value="${parameterInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'type', 'error')} required">
	<label for="type">
		<g:message code="parameter.type.label" default="Type" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="type" from="${parameterInstance.constraints.type.inList}" required="" value="${parameterInstance?.type}" valueMessagePrefix="parameter.type"/>
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit1', 'error')} ">
	<label for="suit1">
		<g:message code="parameter.suit1.label" default="Suit1" />
		
	</label>
	<g:checkBox name="suit1" value="${parameterInstance?.suit1}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit2', 'error')} ">
	<label for="suit2">
		<g:message code="parameter.suit2.label" default="Suit2" />
		
	</label>
	<g:checkBox name="suit2" value="${parameterInstance?.suit2}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit3', 'error')} ">
	<label for="suit3">
		<g:message code="parameter.suit3.label" default="Suit3" />
		
	</label>
	<g:checkBox name="suit3" value="${parameterInstance?.suit3}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit4', 'error')} ">
	<label for="suit4">
		<g:message code="parameter.suit4.label" default="Suit4" />
		
	</label>
	<g:checkBox name="suit4" value="${parameterInstance?.suit4}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit5', 'error')} ">
	<label for="suit5">
		<g:message code="parameter.suit5.label" default="Suit5" />
		
	</label>
	<g:checkBox name="suit5" value="${parameterInstance?.suit5}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'suit6', 'error')} ">
	<label for="suit6">
		<g:message code="parameter.suit6.label" default="Suit6" />
		
	</label>
	<g:checkBox name="suit6" value="${parameterInstance?.suit6}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'tag1', 'error')} ">
	<label for="tag1">
		<g:message code="parameter.tag1.label" default="Tag1" />
		
	</label>
	<g:checkBox name="tag1" value="${parameterInstance?.tag1}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'tag2', 'error')} ">
	<label for="tag2">
		<g:message code="parameter.tag2.label" default="Tag2" />
		
	</label>
	<g:checkBox name="tag2" value="${parameterInstance?.tag2}" />
</div>

<div class="fieldcontain ${hasErrors(bean: parameterInstance, field: 'definition', 'error')} ">
	<label for="definition">
		<g:message code="parameter.definition.label" default="Definition" />
		
	</label>
	<g:textField name="definition" value="${parameterInstance?.definition}"/>
</div>

